﻿@model OplDataEntry.Models.Fixture

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Fixture</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team1.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team1.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team2.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team2.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Date)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Season.SeasonName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Season.SeasonName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Crew.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Crew.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team3.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team3.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team4.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team4.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ResultDescription)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ResultDescription)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team1Score)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team1Score)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team2Score)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team2Score)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team1Wickets)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team1Wickets)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Team2Wickets)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team2Wickets)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
